package com.qzxy.premiumhotelsystem.service;

import com.qzxy.premiumhotelsystem.domain.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qzxy.premiumhotelsystem.common.result.Result;

/**
* @author 14912
* @description 针对表【admin】的数据库操作Service
* @createDate 2024-09-12 15:55:14
*/
public interface AdminService extends IService<Admin> {
    /**
     * 员工登录方法
     * @param admin
     * @return
     */
    String login(Admin admin);

    Admin getByUsername(String username);

}
